#-------------------------------------------------------------------
# This file is part of the CMake build system for MP Galaxy
#     (Multi Player Galaxy Game)
# For the latest info, see http://www.MPG3d.org/
#
# The contents of this file are placed in the public domain. Feel
# free to make use of it in any way you like.
#-------------------------------------------------------------------

####################################
#  MP-Galaxy BUILD SYSTEM 
#  Project: Entity
####################################

PROJECT(CoreEntity)

set (HEADER_FILES
	Behavior.h
	BehaviorFactory.h
	Entity.h
	Property.h
	PropertyFactory.h
	Types.h
	EntityRoot.h
	Behavior.h
	BehaviorFactory.h
)
set (SOURCE_FILES
	Behavior.cpp
	BehaviorFactory.cpp
	Entity.cpp
	Property.cpp
	PropertyFactory.cpp
	EntityRoot.cpp
)

set (PROP_HEADER_FILES
	Properties/Position.h
)
set (PROP_SOURCE_FILES
	Properties/Position.cpp
)

source_group (properties FILES ${PROP_HEADER_FILES} ${PROP_SOURCE_FILES})

set (HEADERS
	${HEADER_FILES}
	${PROP_HEADER_FILES}
)
set (SOURCES
	${SOURCE_FILES}
	${PROP_SOURCE_FILES}
)

include_directories (${MPG_SOURCE_DIR})

add_library (CoreEntity STATIC ${HEADERS} ${SOURCES})
